package com.ztools.pc.service.store;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ztools.common.model.pc.store.StoreStockDetail;
import com.ztools.common.util.common.PageUtil;

import java.util.List;

/**
 * @author seeTools
 * @since 2023-05-28
 */
public interface StoreStockDetailService extends IService<StoreStockDetail> {

    /**
     * 分页查询
     *
     * @param pageUtil 分页数据
     * @return 对象
     */
    Page<StoreStockDetail> findList(PageUtil<StoreStockDetail> pageUtil);


    /**
     * 根据对象查询
     *
     * @param storeStockDetail storeStockDetail
     * @return StoreStockDetail
     */
    List<StoreStockDetail> findByObject(StoreStockDetail storeStockDetail);


    /**
     * 修改
     *
     * @param storeStockDetail storeStockDetail
     * @return boolean
     */
    boolean update(StoreStockDetail storeStockDetail);

    /**
     * 删除
     *
     * @param storeStockDetail storeStockDetail
     * @return boolean
     */
    boolean delete(StoreStockDetail storeStockDetail);

    /**
     * 添加
     *
     * @param storeStockDetail storeStockDetail
     * @return boolean
     */
    boolean add(StoreStockDetail storeStockDetail);
}
